//---------------------------
// Media
//---------------------------

img,
iframe {
  display: block;
}

img {
  height: auto;
  max-width: 100%;
}

.post-content {
  img,
  iframe,
  .fluid-width-video-wrapper,
  .twitter-tweet {
    margin-bottom: $line-height__medium !important;

    @media #{$medium-down} {
      margin-bottom: $line-height__small;
    }
  }
  p img { margin-bottom: 0; }

  @media #{$phone-up}{
    margin-right: auto;
    margin-left: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.Photography {
  border-radius: 7px;
  max-height: 600px;
  max-width: 100%;
  background-color: var(--background__color);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.PostImage {
  width: 27%;
  max-height: 600px;
  max-width: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.PostHeadImage{
  border-radius: 7px;
  max-height: 600px;
  max-width: 100%;
  background-color: var(--background__color);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}